import random*
N=int(input("введите кол-во выстрелов: "))
count_hits=0
for i in range(N):
    x=random.randint(-100,100+ 1 )
    y=random.randint(-100,100+ 1 )    
if -7 <= x >= -8:
    count_hits +=1
if 5 <= x <= -8:
    count_hits +=1
if 5 <= x <= 5:
    count_hits +=1
if -7 <= x <= 5:
    count_hits +=1    
print("Количество выстрелов: ", N)
print( "Количество попаданий: ", count_hits)
